﻿@model WebUI.Areas.Bots.Models.NavModel
@foreach (var link in Model.Steps)
{
    <div >
        @{
    if (link.Enabled)
    {
            @Html.RouteLink(
    linkText: link.Name,
    routeValues: new { controller = link.Name, action = "Index", step = link.Name },
    htmlAttributes: new { @class = (link.Name == Model.SelectedStep ? "selected" : null) })
    }
    else
    {
            @Html.Label(link.Name)
    }
        }
    </div>
}